package com.simtop.service;


import com.simtop.pojo.*;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @ClassName CaptchaControllerServer
 * @Description TODO
 * @Author lzb
 * @Date 2020-08-17 18:07
 **/
public interface CaptchaControllerServer {

    /**
     * 分页查询显示所有社群用户
     */

    List<SqUser> gitCaptchaUser();

    List<SqLabel> girFirstLabel();

    boolean createLabel(SqLabel sqLabel);

    boolean createLabelsq(SqUsergroup sqUsergroup);

    int gitCountMembergrade(int membergrade);


    int gitCountChannel(String channel);


    int getCountConsumption(int con);

    List<SqLabel> girChiledLabel(Integer chedaid);

    List<SqUser> singleUserPortraitName();

    SqUser singleUserPortrait(String userName);

    boolean createsqUseralonelabel(Integer useralonelabelIds , String retainedInformation);

    List<SqUseralonelabel> getSingleUserPortraitLabel();

    SqUser showUserPortraits(Integer useralonelabelIds);

    Boolean savedGroupImage(String groupUserProfileName,String usergroupIoneuserid);

    List<SqUser> lookupGroupUserTable(Date joindatestart, Date joindateend, Date registerdatestart, Date registerdateend, int memcount, int concount, String channel, String area, String preference, String education, String profession);

    List<SqUsergroup> showAllGroupPortraits();

    SqUser extractASingleCommunityUserBasedOnId(String s);

    SqUsergroup getNewUsergroupid();

    boolean addToCoreDataTable(int usergroupcorebusinessids, int agesumlasts, int incomessslast, String usergroupcorebusinessuserid, String ages, String joindates, String registerdates, String constellations, String incomes, String educations, String preferences, String professions, String areas, String channels, String names, String sexs, int sexman, int sexwoman, int consumptionlow, int consumptionmiddle, int consumptionhigh, int consumptionadvanced, int membergradeone, int membergradetwo, int membergradethree, int membergradefor, int membergradefive, int toktok, int wechat, int redbook, int weibo, int baidu, int memberis, int membernot,int dazhaun ,int benke , int yanjiusheng);

    SqUsergroupcoreBusiness obtainGroupUserInformationForAnalysis(Integer usergroupId);

    List<SqHowlabelsaredefined> howLabelsAreDefined();

    SqUser clickOnTheTagAnalysisPage(String sex, int age, String preference, int membergrade, String preference1);
    //获取筛选到的id
    List<SqUser> getCommunityUniqueId(String sex, int age, String preference, int membergrade,int consumption);

    int getTheNumberOfBoys(List<Long> sqid);


    int getTheNumberOfGirl(List<Long> sqid);

    SqUser viewByUserId(Long userId);

    List<Squserbehaviortable> getActionId(int userbehaviorNewlyadded, int userbehaviorSignin, int userbehaviorSpeak, int userbehaviorDiscuss, int userbehaviorTopicinitiation, int userbehaviorShare);

    List<Squserbehaviortable> viewuserbehavioranalysis();

    List<SqUser> analysisByID(List<Long> listids);

    AgedistributionVo getageDistribution(List<Long> listids);

    ConsumptionDistributionVo consumptionDistribution(ArrayList<Long> listids);

    int getAllcount();

    boolean savefilter(String data);

    List<FirstLabelVo> gitFirstLabelVo();

    List<CheadVo> girChiledLabelOne();

    List<CheadVo> gitCheadVo(List<Integer> parentid);

    SqLabel clickOnTheTagAnalysisPageOne(String labelname);

    SqLabel clickOnTheTagAnalysisPageTwo(String labelname);

    List<Squserbehaviortable> gitnewlyadded(String starttimes, String endtimes, int newlyaddedid);

    List<Squserbehaviortable> gitspeak(String starttimes, String endtimes, Integer speakid);

    List<Squserbehaviortable> gitdiscuss(String starttimes, String endtimes, Integer discussid);

    List<Squserbehaviortable> gittopicinitiation(String starttimes, String endtimes, Integer topicinitiationid);

    List<Squserbehaviortable> gitshare(String starttimes, String endtimes, Integer shareid);

    List<Squserbehaviortable> gitsignin(String starttimes, String endtimes, Integer signinid);

    SqUsergroup displayuserportrait(String usergroupname);

    List<CheadVo> gitcheadname(String labname);

    SqLabel getparentId(int parentId);

    ConsumptVo getsr(ArrayList<Long> listWithoutDuplicates);

    List<SqUser> getAllId();

    LocalDistributionVo localDistribution(ArrayList<Long> listWithoutDuplicates);

}
